package com.mr.biz.support;

import java.util.Map;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @author Alex
 */
public class DefaultResponse implements Response {

	private String jsonData;

	private Map<String, Object> mapData;

	public DefaultResponse() {
	}

	public DefaultResponse(String data) {
		this.jsonData = data;
	}

	public String getJsonData() {
		return jsonData;
	}

	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}

	public Map<String, Object> getMapData() {
		return mapData;
	}

	public void setMapData(Map<String, Object> mapData) {
		this.mapData = mapData;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
